import Vue from 'vue'
import size from './size'
import perms from './perms'
import transcode from './transcode'
import date from './date'
import time from './time'
import filename from './filename'

export const filters: any = {
  size,
  perms,
  transcode,
  date,
  time,
  filename
}

Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

export default filters
